package com.ruoyi.project.anquan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 法律法规对象 security_flfgk
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class SecurityFlfgk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 法律法规名称 */
    @Excel(name = "法律法规名称")
    private String name;

    /** 发文单位 */
    @Excel(name = "发文单位")
    private String dispatch;

    /** 专业类别 (0安全生产 1环境保护 2职业健康 3其他) */
    @Excel(name = "专业类别 (0安全生产 1环境保护 2职业健康 3其他)")
    private Long type;

    /** 文号 */
    @Excel(name = "文号")
    private String symbol;

    /** 有效性（1尚未实施  2现行有效 3废除 4废止） */
    @Excel(name = "有效性", readConverterExp = "1=尚未实施,2=现行有效,3=废除,4=废止")
    private Integer valid;

    /** 级别（1国家法律法规  2部委规章  3地方法规  4国际公约 5标准 6政策解读） */
    @Excel(name = "级别", readConverterExp = "1=国家法律法规,2=部委规章,3=地方法规,4=国际公约,5=标准,6=政策解读")
    private Integer level;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releasedate;

    /** 实施日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实施日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date implementdate;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createtime;
    
    public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	/** 修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatetime;
    
    /** 所在地区 */
    @Excel(name = "所在地区")
    private String address;

    /** 概要 */
    @Excel(name = "概要")
    private String outline;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String fireurl;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other1;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other2;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other3;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other4;

    /** $column.columnComment */
    @Excel(name = "文件路径")
    private String other5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDispatch(String dispatch) 
    {
        this.dispatch = dispatch;
    }

    public String getDispatch() 
    {
        return dispatch;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setValid(Integer valid) 
    {
        this.valid = valid;
    }

    public Integer getValid() 
    {
        return valid;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setReleasedate(Date releasedate) 
    {
        this.releasedate = releasedate;
    }

    public Date getReleasedate() 
    {
        return releasedate;
    }
    public void setImplementdate(Date implementdate) 
    {
        this.implementdate = implementdate;
    }

    public Date getImplementdate() 
    {
        return implementdate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOutline(String outline) 
    {
        this.outline = outline;
    }

    public String getOutline() 
    {
        return outline;
    }
    public void setFireurl(String fireurl) 
    {
        this.fireurl = fireurl;
    }

    public String getFireurl() 
    {
        return fireurl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setOther1(String other1) 
    {
        this.other1 = other1;
    }

    public String getOther1() 
    {
        return other1;
    }
    public void setOther2(String other2) 
    {
        this.other2 = other2;
    }

    public String getOther2() 
    {
        return other2;
    }
    public void setOther3(String other3) 
    {
        this.other3 = other3;
    }

    public String getOther3() 
    {
        return other3;
    }
    public void setOther4(String other4) 
    {
        this.other4 = other4;
    }

    public String getOther4() 
    {
        return other4;
    }
    public void setOther5(String other5) 
    {
        this.other5 = other5;
    }

    public String getOther5() 
    {
        return other5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("dispatch", getDispatch())
            .append("type", getType())
            .append("symbol", getSymbol())
            .append("valid", getValid())
            .append("level", getLevel())
            .append("releasedate", getReleasedate())
            .append("implementdate", getImplementdate())
            .append("address", getAddress())
            .append("outline", getOutline())
            .append("fireurl", getFireurl())
            .append("status", getStatus())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("other", getOther())
            .append("other1", getOther1())
            .append("other2", getOther2())
            .append("other3", getOther3())
            .append("other4", getOther4())
            .append("other5", getOther5())
            .toString();
    }
}
